<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="decorator" content="common" />
<script>
	$(function(){
		$('#noticeNav').addClass("on");
		var checkId=$('#checkType').val();
		var liId="type"+checkId;
		$('.my-order li').removeClass('curr');
		$('#'+liId+'').addClass("curr");
		var html=$("#obtain_html").val();
		var reg = new RegExp("a/sys/file/getFile","g");//g,表示全部替换
		html = html.replace(reg,'f/web/file/getFile');
		$(".Notice_info").html(html);
	})
</script>
</head>
<body>
	<!--4line-->
	<div class="four_line"></div>
	<!--4line结束-->
	<!--主题内容-->
	<div class="parts_main_box bgf5">
		<div class="container">
			<div class="row">
				<!-- pc 订单管理 -->
				<div class="Credit_box clearfix">
					<!-- 左边部分 -->
					<div class="col-sm-2 pad0">
						<div class="my-order">
							<ul>
								<input type="hidden" id="checkType" value="${params.noticeType}"/>
								<c:if test="${not empty typeList}">
									<c:forEach items="${typeList}" var="noticeType">
										<li class="item" id="type${noticeType.id}" > <!-- class="item curr" -->
											<a  href="${ctxWeb }/notice/findNoticeByType?noticeType=${noticeType.id}">${noticeType.title} </a>
										</li>
									</c:forEach>
								</c:if>
							</ul>
						</div>
					</div>
					<!-- 左边部分 end-->
					<!-- 右边部分 -->
					<div class="col-sm-10 pad20 pad_10">
						<div class="Credit_right">
							<!--公告列表-->
							<div class="goods_detail_info_box mar_16 clearfix">
								<h3>
									<span>公告详情</span>
									
								</h3>
								<!--公告内容-->
								<div class="Notice_box">
									<h3>${notice.title}</h3>
									<h4>${notice.time}</h4>
									<input type="hidden" id="obtain_html" value="${notice.content}"/>
									<div class="Notice_info">
											
									</div>
								</div>
								<!--公告内容结束-->
							</div>	
							<!--公告列表结束-->
							
						</div>
					</div>
					<!-- 右边部分 end-->
				</div>
				<!-- pc 订单管理 end -->
			</div>
		</div>
	</div>
	<!--主题内容-->
</body>
</html>